#!/bin/bash
# Show/Hide Dashboard on Mac
DISABLED="NO"
[ $# -ge 1 ] && [ $1 = "off" ] && DISABLED="YES"
defaults write com.apple.dashboard mcx-disabled -boolean $DISABLED && killall Dock
exit 0